#
# battle.py -- main battle sim
# 
# author:   Tom "Knio" Flanagan
#           knio@h4xn3t.net
#           theknio@gmail.com
#           irc.freenode.net - Knio - #python #pygame #py
#
# version:  1.1.0
#
# this file released under Public Domain
#



import controller.xmlbattle
import view.view
import pygame.time

b = controller.xmlbattle.XmlBattle('battle.xml').battle
v = view.view.View(b)

clock = pygame.time.Clock()
while 1:
    clock.tick(30)
    b.tick()
    v.tick()
